home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1989 / Nov 89 / 0120-Re TList problems-Nov89 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.0 KB  |  29 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  A33          to A34
  2.  
  3. Item    8467966                         22-Nov-89        22:57
  4.  
  5. From:   WILSON6                         Wilson, Dave-Personal Concepts,VCA
  6.  
  7. To:     SW0075                          SWV VTS Transportation Systems, GBG
  8.  
  9. cc:     MACAPP.TECH$                    MacApp Technical
  10.  
  11. Sub:    Re TList problems
  12.  
  13. Bosse,
  14.  
  15. One other thing that hurts the performance any time you use a lot of objects is
  16. running out of Master Pointers.  When the Memory Manager runs out, it allocates
  17. 64 more with a call to MoreMasters.  These are non-relocatable blocks on the
  18. heap, which the MM tries to force low on the heap by purging and compacting.
  19. This heap activity can slow things down.
  20.  
  21. If you intend to instantiate 8,000 objects, then you need at least 8000/64 (=
  22. 125) blocks of Master Pointers. Then add a few more for windows regions, other
  23. objects, etc. To create these, call InitUMacApp(140) in your main program.
  24. This will use about 32 KB on the heap, but you need them - and it does improve
  25. the performance.
  26.  
  27. Dave
  28.  
  29.